import { axios } from '@/utils/request'
export function noticeList(params) {
  return axios({
    url: '/school/notices',
    method: 'post',
    data: params
  })
}
export function noticeDel(params) {
  return axios({
    url: '/school/notices/' + params + '/delete',
    method: 'post',
  })
}
export function noticeCount(params, id) {
  return axios({
    url: '/school/notices/' + id + '/read',
    method: 'post',
    data: params
  })
}
export function noticeInfo(id) {
  return axios({
    url: '/school/notices/' + id,
    method: 'post',
  })
}
export function noticeEdit(params,id) {
  return axios({
    url: '/school/notices/' + id + '/update',
    method: 'post',
    data: params
  })
}
export function noticePublisher(params) {
  return axios({
    url: '/school/notices/user-list',
    method: 'post',
    data: params
  })
}
